﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OGS.Contracts
{
    /// <summary>
    /// Stores the UOMInfo Data.
    /// </summary>
    public class UOM : BaseEntity
    {
        /// <summary>
        /// The ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// The Name
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// Checks whether the UOM Is Active
        /// </summary>
        public bool IsActive
        {
            get;
            set;
        }
        
        /// <summary>
        /// Initializes a new instance of the UOM class with no arguments.
        /// </summary>
        public UOM()
        {
        }

        /// <summary>
        /// Initializes a new instance of the UOM class with specified arguments.
        /// </summary>
        /// <param name="ID"> The ID</param>
        /// <param name="Name"> The Name</param>
        /// <param name="IsActive"> Checks whether the UOM Is Active</param>
        /// <param name="LastModifiedBy"> The Last Modified By</param>
        /// <param name="LastModifiedDate"> The Last Modified Date</param>
        public UOM(int ID, string Name, bool IsActive, int LastModifiedBy, DateTime LastModifiedDate)
        {
            this.ID = ID;
            this.Name = Name;
            this.IsActive = IsActive;
            this.LastModifiedBy = LastModifiedBy;
            this.LastModifiedDate = LastModifiedDate;
        }
               
    }
}